using System;
using System.Collections.Generic;

namespace WebDauGia.Domain.Models
{
    public partial class DonDatHang
    {
        public DonDatHang()
        {
            this.ChiTietDonHangs = new List<ChiTietDonHang>();
        }

        public int id { get; set; }
        public int idkhachhang { get; set; }
        public int idtrangthai { get; set; }
        public System.DateTime ngaydat { get; set; }
        public int idpttt { get; set; }
        public int idptgh { get; set; }
        public string ghichu { get; set; }
        public string diachi { get; set; }
        public string sodt { get; set; }
        public string email { get; set; }
        public string tenkh { get; set; }
        public virtual ICollection<ChiTietDonHang> ChiTietDonHangs { get; set; }
        public virtual KhachHang KhachHang { get; set; }
        public virtual PhuongThucGiaoHang PhuongThucGiaoHang { get; set; }
        public virtual PhuongThucThanhToan PhuongThucThanhToan { get; set; }
        public virtual TrangThaiDonHang TrangThaiDonHang { get; set; }
    }
}
